// pages/index/index.scss
.order-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
}

.order-header {
  flex-shrink: 0;
}

.order-content {
  flex: 1;
  height: 0;
  display: flex;
  flex-direction: column;
}

.order-scrollview {
  flex: 1;
  height: 100%;
}

.order-list {
  padding: 16px;
  min-height: 100%;
  box-sizing: border-box;
}

.order-item {
  background: #ffffff;
  border-radius: 16rpx;
  padding: 24rpx;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start; // 改为顶部对齐

  &:last-child {
    margin-bottom: 0;
  }
}

.order-image {
  width: 220rpx;
  height: 220rpx;
  border-radius: 16rpx;
  margin-right: 24rpx;
  flex-shrink: 0;
}

.order-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative; // 添加相对定位
  height: 220rpx; // 与图片高度一致

  .order-service {
    font-size: 36rpx;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12rpx;
    text-shadow: 0 8rpx 4rpx rgba(0, 0, 0, 0.1); // 添加文字阴影
  }

  .order-details {
    display: flex;
    align-items: center;

    .order-amount-label {
      font-size: 28rpx;
      color: #999999;
    }



    .order-amount {
      font-size: 28rpx;
      font-weight: 600;
      color: #ff4d4f;
    }
  }

  .order-no {
    font-size: 28rpx;
    color: #999999;
  }

  .order-date {
    font-size: 28rpx;
    color: #333333;
    position: absolute; // 绝对定位
    bottom: 0; // 底部对齐
    right: 0; // 右侧对齐
  }
}

.no-more-data {
  text-align: center;
  padding: 16px 16px;

  .no-more-text {
    font-size: 28rpx;
    color: #cccccc;
  }
}

page {
  height: 100%;
}
